package
{
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.utils.Dictionary;
public class Resource extends Sprite
{
private var dic:Dictionary;
public function Resource()
{
dic = new Dictionary();
dic["panel_but_emotion"] = new panel_but_emotion(1,1);
dic["panel_but_send"] = new panel_but_send(1,1);
dic["panel_but_list"] = new panel_but_list(1,1);
dic["panel_but_forbiden"] = new panel_but_forbiden(1,1);
dic["panel_item_1"] = new panel_item_1(1,1);
dic["panel_item_2"] = new panel_item_2(1,1);
dic["panel_item_3"] = new panel_item_3(1,1);
dic["panel_item_4"] = new panel_item_4(1,1);
dic["panel_item_10"] = new panel_item_10(1,1);
dic["panel_item_6"] = new panel_item_6(1,1);
dic["panel_item_7"] = new panel_item_7(1,1);
dic["panel_item_5"] = new panel_item_5(1,1);
dic["panel_item_8"] = new panel_item_8(1,1);
dic["panel_item_11"] = new panel_item_11(1,1);
dic["panel_item_9"] = new panel_item_9(1,1);
dic["panel_circleBg"] = new panel_circleBg(1,1);
dic["panel_circleHint"] = new panel_circleHint(1,1);
dic["panel_leftCardBg"] = new panel_leftCardBg(1,1);
dic["panel_add"] = new panel_add(1,1);
dic["panel_close"] = new panel_close(1,1);
dic["panel_win"] = new panel_win(1,1);
dic["panel_spring"] = new panel_spring(1,1);
dic["panel_fire"] = new panel_fire(1,1);
dic["panel_escape"] = new panel_escape(1,1);
dic["panel_loading"] = new panel_loading(1,1);
dic["panel_refresh"] = new panel_refresh(1,1);
dic["panel_sitBg"] = new panel_sitBg(1,1);
dic["panel_right2"] = new panel_right2(1,1);
dic["panel_left2"] = new panel_left2(1,1);
dic["panel_right"] = new panel_right(1,1);
dic["panel_left"] = new panel_left(1,1);
dic["panel_mine"] = new panel_mine(1,1);
dic["panel_give"] = new panel_give(1,1);
dic["panel_male"] = new panel_male(1,1);
dic["panel_female"] = new panel_female(1,1);
dic["panel_plus"] = new panel_plus(1,1);
dic["text_panel_cardHint"] = new text_panel_cardHint(1,1);
dic["text_panel_cardPlay"] = new text_panel_cardPlay(1,1);
dic["text_panel_cardPass"] = new text_panel_cardPass(1,1);
dic["text_panel_enter"] = new text_panel_enter(1,1);
dic["text_panel_refresh"] = new text_panel_refresh(1,1);
dic["text_panel_fast"] = new text_panel_fast(1,1);
dic["text_panel_help"] = new text_panel_help(1,1);
dic["text_panel_hallHelp"] = new text_panel_hallHelp(1,1);
dic["text_panel_hall"] = new text_panel_hall(1,1);
dic["text_panel_standup"] = new text_panel_standup(1,1);
dic["text_title_feed"] = new text_title_feed(1,1);
dic["text_title_help"] = new text_title_help(1,1);
dic["text_title_item"] = new text_title_item(1,1);
dic["text_title_reward"] = new text_title_reward(1,1);
dic["text_title_record"] = new text_title_record(1,1);
dic["text_title_task"] = new text_title_task(1,1);
dic["text_title_bank"] = new text_title_bank(1,1);
dic["text_title_vip"] = new text_title_vip(1,1);
dic["text_title_famous"] = new text_title_famous(1,1);
dic["text_title_rank"] = new text_title_rank(1,1);
dic["card_cubs"] = new card_cubs(1,1);
dic["card_jokerR"] = new card_jokerR(1,1);
dic["card_back"] = new card_back(1,1);
dic["card_3"] = new card_3(1,1);
dic["card_4"] = new card_4(1,1);
dic["card_5"] = new card_5(1,1);
dic["card_6"] = new card_6(1,1);
dic["card_7"] = new card_7(1,1);
dic["card_8"] = new card_8(1,1);
dic["card_9"] = new card_9(1,1);
dic["card_jokerB"] = new card_jokerB(1,1);
dic["card_spades"] = new card_spades(1,1);
dic["card_10"] = new card_10(1,1);
dic["card_11"] = new card_11(1,1);
dic["card_12"] = new card_12(1,1);
dic["card_13"] = new card_13(1,1);
dic["card_14"] = new card_14(1,1);
dic["card_15"] = new card_15(1,1);
dic["card_hearts"] = new card_hearts(1,1);
dic["card_16"] = new card_16(1,1);
dic["card_17"] = new card_17(1,1);
dic["card_18"] = new card_18(1,1);
dic["card_bg"] = new card_bg(1,1);
dic["card_19"] = new card_19(1,1);
dic["card_diamons"] = new card_diamons(1,1);
dic["face_item_3"] = new face_item_3(1,1);
dic["face_item_1"] = new face_item_1(1,1);
dic["face_item_2"] = new face_item_2(1,1);
dic["face_frame"] = new face_frame(1,1);
dic["face_sitButBg"] = new face_sitButBg(1,1);
dic["face_golds"] = new face_golds(1,1);
dic["face_loadingFace"] = new face_loadingFace(1,1);
dic["face_loadingBg"] = new face_loadingBg(1,1);
dic["face_head"] = new face_head(1,1);
dic["face_blue"] = new face_blue(1,1);
dic["face_gold"] = new face_gold(1,1);
dic["face_logo"] = new face_logo(1,1);
dic["face_flyMail"] = new face_flyMail(1,1);
dic["face_select"] = new face_select(1,1);
dic["face_checkOff"] = new face_checkOff(1,1);
dic["face_checkOn"] = new face_checkOn(1,1);
dic["face_radioOff"] = new face_radioOff(1,1);
dic["face_radioOn"] = new face_radioOn(1,1);
dic["face_bigBut"] = new face_bigBut(1,1);
dic["face_bigBut2"] = new face_bigBut2(1,1);
dic["face_search"] = new face_search(1,1);
dic["face_expBg"] = new face_expBg(1,1);
dic["face_expFace"] = new face_expFace(1,1);
dic["face_soundOn"] = new face_soundOn(1,1);
dic["face_soundOff"] = new face_soundOff(1,1);
dic["face_mail"] = new face_mail(1,1);
dic["face_wrong"] = new face_wrong(1,1);
dic["face_item"] = new face_item(1,1);
dic["face_friend"] = new face_friend(1,1);
dic["face_task"] = new face_task(1,1);
dic["face_auto"] = new face_auto(1,1);
dic["face_autoSign"] = new face_autoSign(1,1);
dic["face_turnSign"] = new face_turnSign(1,1);
dic["face_vip4"] = new face_vip4(1,1);
dic["face_vip1"] = new face_vip1(1,1);
dic["face_vip2"] = new face_vip2(1,1);
dic["face_vip3"] = new face_vip3(1,1);
dic["face_bank"] = new face_bank(1,1);
dic["emote_wq"] = new emote_wq(1,1);
dic["emote_dx"] = new emote_dx(1,1);
dic["emote_kq"] = new emote_kq(1,1);
dic["emote_bs"] = new emote_bs(1,1);
dic["emote_fn"] = new emote_fn(1,1);
dic["emote_gg"] = new emote_gg(1,1);
dic["emote_qd"] = new emote_qd(1,1);
dic["emote_ws"] = new emote_ws(1,1);
dic["emote_wx"] = new emote_wx(1,1);
dic["emote_wy"] = new emote_wy(1,1);
dic["emote_xx"] = new emote_xx(1,1);
dic["emote_xh"] = new emote_xh(1,1);
dic["emote_xe"] = new emote_xe(1,1);
dic["emote_cb"] = new emote_cb(1,1);
dic["emote_ty"] = new emote_ty(1,1);
dic["emote_smm"] = new emote_smm(1,1);
dic["emote_ot"] = new emote_ot(1,1);
dic["emote_ka"] = new emote_ka(1,1);
dic["emote_jiong"] = new emote_jiong(1,1);
dic["emote_fk"] = new emote_fk(1,1);
}
public function getResource(imgKey:String):BitmapData
{
return dic[imgKey]
}
public function getCopyResource(imgKey:String):BitmapData
{
if (dic[imgKey])return dic[imgKey].clone();return null;
}
}
}
